Platform Explorer / Nuxeo Platform 2021.58

Component org.nuxeo.retention.contentTemplate

Requirements

Resolution Order

727
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.retention.contentTemplate">

  <require>
    org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib
  </require>

  <extension
    target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="factoryBinding">

    <factoryBinding name="RetentionRulesFactory" factoryName="SimpleTemplateRootFactory"
      targetType="Root" append="true">
      <template>
        <templateItem typeName="RetentionRules" id="RetentionRules" title="RetentionRules" >
          <acl>
            <ace principal="Administrator" permission="Everything"
              granted="true" />
            <ace principal="administrators" permission="Everything"
              granted="true" />
            <ace principal="RecordManager" permission="Everything"
              granted="true" />
            <ace principal="Everyone" permission="Everything" granted="false" />
          </acl>
        </templateItem>
      </template>
    </factoryBinding>

  </extension>

</component>